package org.realogic.cfm.spring;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.hibernate4.Hibernate4Module;

/**
 * @description 解决Date类型返回json格式为自定义格式
 */
public class CustomObjectMapper extends ObjectMapper {
	private static final long serialVersionUID = -4658683947120724130L;

	public CustomObjectMapper() {
		registerModule(new Hibernate4Module());
	}
}
